package com.xyht.sca_s.student_manage_system.modules.assetStatistics.entity.resp;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 固定资产库存
 * </p>
 *
 * @author XYHT
 * @since 2023-05-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_fixed_storage")
@ApiModel(value = "SmsAssetFixedStorage对象", description = "固定资产库存")
public class SmsAssetFixedOutStatisticsResp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资产id")
    private String id;

    @ApiModelProperty(value = "资产名称")
    private String assetName;

    @ApiModelProperty(value = "资产类别")
    private String assetCategory;

    @ApiModelProperty(value = "资产类别")
    private String assetCategoryName;

    //：1：库中   2：借出  3：维修   4：报废  5:出库
    @ApiModelProperty(value = "资产状态")
    private Integer assetStatus;

    @ApiModelProperty(value = "资产二级状态")
    private Integer assetDetailStatus;

    @ApiModelProperty(value = "资产品牌")
    private String assetBrand;

    @ApiModelProperty(value = "资产型号")
    private String assetModel;

    @ApiModelProperty(value = "资产数量")
    private Integer assetNum;

    @ApiModelProperty(value = "资产单价")
    private BigDecimal assetPrice;

    @ApiModelProperty(value = "资产计量单位")
    private String assetUnit;

    @ApiModelProperty(value = "资产总原值")
    private BigDecimal assetTotalOriginalPrice;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "资产所有者id")
    private String assetOwner;

    @ApiModelProperty(value = "资产所有者姓名")
    private String assetOwnerName;

    @ApiModelProperty(value = "资产所属部门id")
    private String assetDepartment;

    @ApiModelProperty(value = "资产所属部门")
    private String assetDepartmentName;

}
